.\" Man page generated from reStructuredText.
.
.TH ARCHMAGE 1 "2020-11-20" "0.4.2.1" "SlackBuilds.org"
.SH NAME
archmage \- convert CHM to PDF, HTML, or plain text
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.\" RST source for archmage(1) man page. Convert with:
.
.\" rst2man.py archmage.rst > archmage.1
.
.\" rst2man.py comes from the SBo development/docutils package.
.
.SH SYNOPSIS
.sp
archmage [\fI\-options\fP] \fBchmfile\fP [\fBdestdir\fP | \fBdestfile\fP]
.SH DESCRIPTION
.sp
\fBarchmage\fP converts CHM files to HTML, plain text and PDF. CHM is the
format used by Microsoft HTML Help, also known as Compiled HTML.
.SH OPTIONS
.INDENT 0.0
.TP
.B \-x\fP,\fB  \-\-extract
Extracts CHM file into specified directory. If destination
directory is omitted, then a new one will be created based
on the name of the CHM file. This option is the default.
.TP
.BI \-c\fP,\fB  \-\-convert\fB= format
Convert CHM file into specified file format. If destination
file is omitted, the output filename will be created based on
the name of the CHM file. Available formats:
.INDENT 7.0
.INDENT 3.5
.sp
.nf
.ft C
html \- Single HTML file
text \- Plain text file (uses lynx(1) or elinks(1))
pdf \- Adobe PDF
.ft P
.fi
.UNINDENT
.UNINDENT
.TP
.B \-d\fP,\fB  \-\-dump
Dump HTML data from CHM file to standard output.
.TP
.B \-V\fP,\fB  \-\-version
Print version number and exit.
.TP
.B \-h\fP,\fB  \-\-help
Print help message and exit.
.UNINDENT
.SH COPYRIGHT
.sp
See the file /usr/doc/archmage\-0.4.2.1/COPYING for license information.
.SH AUTHORS
.sp
archmage was written by dottedmag.
.sp
This man page written for the SlackBuilds.org project
by B. Watson, and is licensed under the WTFPL.
.SH SEE ALSO
.sp
The archmage homepage: \fI\%https://github.com/dottedmag/archmage\fP
.\" Generated by docutils manpage writer.
.
